<div class="main-container-right bg-white m-b-15">
    <div class="main-container-right-title d-flex">
        <span>{$ranking.title}</span>
        <span><a href="{$ranking.link}">更多</a></span>
    </div>
    <div class="main-container-right-body-ranking">
        <ul class="main-container-right-body-ranking-ul d-flex">
            {foreach $ranking.list as $k=>$v}
            <li><i class="ranking {$k<=2?'ranking-icon-'.($k+1):''}"></i><a href="{:url($ranking.url,['id'=>str_pad($v['id'],15,'0',STR_PAD_LEFT)])}">
                {$v.title}</a><span>{$v.total}</span></li>
            {/foreach}
        </ul>
    </div>
</div>
